ADD_SUBDIRECTORY(FishEye)
ADD_SUBDIRECTORY(MouseMagnifyingGlass)
ADD_SUBDIRECTORY(MouseLassoNodesSelector)
ADD_SUBDIRECTORY(NeighborhoodHighlighter)
ADD_SUBDIRECTORY(PathFinder)

INCLUDE_DIRECTORIES(${TulipCoreInclude} ${TulipCoreBuildInclude} ${TulipOGLInclude} ${TulipGUIInclude})

##----------------------------------------------------------------------------------------------------------------------------
ADD_LIBRARY(InteractorNavigation SHARED InteractorNavigation.cpp)
TARGET_LINK_LIBRARIES(InteractorNavigation ${LibTulipCoreName} ${LibTulipOglName} ${LibTulipGUIName})

##----------------------------------------------------------------------------------------------------------------------------
ADD_LIBRARY(InteractorGetInformation SHARED InteractorGetInformation.cpp)
TARGET_LINK_LIBRARIES(InteractorGetInformation ${LibTulipCoreName} ${LibTulipOglName} ${LibTulipGUIName})

##----------------------------------------------------------------------------------------------------------------------------
ADD_LIBRARY(InteractorSelection SHARED InteractorSelection.cpp)
TARGET_LINK_LIBRARIES(InteractorSelection ${LibTulipCoreName} ${LibTulipOglName} ${LibTulipGUIName})

##----------------------------------------------------------------------------------------------------------------------------
ADD_LIBRARY(InteractorSelectionModifier SHARED InteractorSelectionModifier.cpp)
TARGET_LINK_LIBRARIES(InteractorSelectionModifier ${LibTulipCoreName} ${LibTulipOglName} ${LibTulipGUIName})

##----------------------------------------------------------------------------------------------------------------------------
ADD_LIBRARY(InteractorRectangleZoom SHARED InteractorRectangleZoom.cpp)
TARGET_LINK_LIBRARIES(InteractorRectangleZoom ${LibTulipCoreName} ${LibTulipOglName} ${LibTulipGUIName})

##----------------------------------------------------------------------------------------------------------------------------
ADD_LIBRARY(InteractorAddNodeEdge SHARED InteractorAddEdge.cpp)
TARGET_LINK_LIBRARIES(InteractorAddNodeEdge ${LibTulipCoreName} ${LibTulipOglName} ${LibTulipGUIName})

##----------------------------------------------------------------------------------------------------------------------------
ADD_LIBRARY(InteractorEditEdgeBends SHARED InteractorEditEdgeBends.cpp)
TARGET_LINK_LIBRARIES(InteractorEditEdgeBends ${LibTulipCoreName} ${LibTulipOglName} ${LibTulipGUIName})

##----------------------------------------------------------------------------------------------------------------------------
ADD_LIBRARY(InteractorDeleteElement SHARED InteractorDeleteElement.cpp)
TARGET_LINK_LIBRARIES(InteractorDeleteElement ${LibTulipCoreName} ${LibTulipOglName} ${LibTulipGUIName})

##----------------------------------------------------------------------------------------------------------------------------
INSTALL(TARGETS InteractorNavigation DESTINATION ${TulipInteractorPluginsInstallDir} COMPONENT InteractorNavigation)
INSTALL(TARGETS InteractorGetInformation DESTINATION ${TulipInteractorPluginsInstallDir} COMPONENT InteractorGetInformation)
INSTALL(TARGETS InteractorSelection DESTINATION ${TulipInteractorPluginsInstallDir} COMPONENT InteractorSelection)
INSTALL(TARGETS InteractorSelectionModifier DESTINATION ${TulipInteractorPluginsInstallDir} COMPONENT InteractorSelectionModifier)
INSTALL(TARGETS InteractorRectangleZoom DESTINATION ${TulipInteractorPluginsInstallDir} COMPONENT InteractorRectangleZoom)
INSTALL(TARGETS InteractorAddNodeEdge DESTINATION ${TulipInteractorPluginsInstallDir} COMPONENT InteractorAddNodeEdge)
INSTALL(TARGETS InteractorEditEdgeBends DESTINATION ${TulipInteractorPluginsInstallDir} COMPONENT InteractorEditEdgeBends)
INSTALL(TARGETS InteractorDeleteElement DESTINATION ${TulipInteractorPluginsInstallDir} COMPONENT InteractorDeleteElement)
